<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <!-- 使用不同智能机的宽度 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">
    <title>MissQ校花</title>
    <!-- 标注网页的作者 -->
    <link rel="stylesheet" href="css/bootstrap.css"/>
    <link rel="stylesheet" media="all" href="css/base.css">
    <link rel="stylesheet" href="css/rank.css"/>
    <script src="js/jquery-1.12.3.min.js"></script>
    <!--<script src="js/drag.js"></script>-->
    <script>
        ;(function(win, doc){
            function change(){
                doc.documentElement.style.fontSize=20*doc.documentElement.clientWidth/320+'px';
            }
            change();

            win.addEventListener('resize', change, false);
        })(window, document);
        function create5(c) {
            var oMain=$('.girls-list');
            $.ajax({
                type: 'GET',
                url: 'json/rank.json',
                dataType: 'json',
                async:true,
                success:function(str){
                    // 一次展示10个
                    var json=str;
                        for (var i = 0; i < c; i++) {
                            var oA=$('<a href="'+json.lists[i].link+'"></a>');
                            oA.html("<li><img src='"+json.lists[i].pic+"'/></li>");
                            oMain.append(oA);
                        }
                }

            });
        };
        $(document).ready(function(){
            create5(10);
        });
    </script>
</head>
<body>
    <div class="container w640" id="main">
        <div class="title-img"><img src="img/missq.jpg" alt=""/></div>
        <div class="girlsList">
            <p>女神成员</p>
            <ul class="girls-list">
                <!--<a href="http://www.baidu.com"><li><img src="img/missq1.jpg" alt=""/></li></a>-->
            </ul>
        </div>
        <div class="ranklist">
            <p class="title">女神排行</p>
            <ul class="rank-lists">
                <li class="rank-list">
                    <div class="fl r-headPhoto"><img src="img/t1.jpg" /></div>
                    <div class="r-left">
                        <p class="girls-name">某某某 <img src="img/sex-wome.jpg" alt="" class="sex"/></p>
                        <p class="girls-sch">北京化工大学</p>
                        <p class="girls-fan"><span>粉丝数：</span><span>1147</span></p>
                        <div class="rank-num">NO.1</div>
                    </div>
                </li>
                <li class="rank-list">
                    <div class="fl r-headPhoto"><img src="img/t1.jpg" /></div>
                    <div class="r-left">
                        <p class="girls-name">某某某 <img src="img/sex-wome.jpg" alt="" class="sex"/></p>
                        <p class="girls-sch">北京化工大学</p>
                        <p class="girls-fan"><span>粉丝数：</span><span>1147</span></p>
                        <div class="rank-num">NO.1</div>
                    </div>
                </li>
                <li class="rank-list">
                    <div class="fl r-headPhoto"><img src="img/t1.jpg" /></div>
                    <div class="r-left">
                        <p class="girls-name">某某某 <img src="img/sex-wome.jpg" alt="" class="sex"/></p>
                        <p class="girls-sch">北京化工大学</p>
                        <p class="girls-fan"><span>粉丝数：</span><span>1147</span></p>
                        <div class="rank-num">NO.1</div>
                    </div>
                </li>
                <li class="rank-list">
                    <div class="fl r-headPhoto"><img src="img/t1.jpg" /></div>
                    <div class="r-left">
                        <p class="girls-name">某某某 <img src="img/sex-wome.jpg" alt="" class="sex"/></p>
                        <p class="girls-sch">北京化工大学</p>
                        <p class="girls-fan"><span>粉丝数：</span><span>1147</span></p>
                        <div class="rank-num">NO.1</div>
                    </div>
                </li>
                <li class="rank-list">
                    <div class="fl r-headPhoto"><img src="img/t1.jpg" /></div>
                    <div class="r-left">
                        <p class="girls-name">某某某 <img src="img/sex-wome.jpg" alt="" class="sex"/></p>
                        <p class="girls-sch">北京化工大学</p>
                        <p class="girls-fan"><span>粉丝数：</span><span>1147</span></p>
                        <div class="rank-num">NO.1</div>
                    </div>
                </li>
            </ul>
        </div>

    </div>
</body>
</html>